package dao;
//通过这个类的对象，表示user表中的一条记录
//这个类的属性要和user列的属性匹配
public class User {
    private int useId;
    private  String username;
    private String password;

    public int getUseId() {
        return useId;
    }

    public void setUseId(int useId) {
        this.useId = useId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "useId=" + useId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
